package dyyx;

import io.vertx.core.Vertx;
import io.vertx.core.http.HttpServer;

public class HelloWorld  {
	
	private static final int port = Integer.parseInt(System.getProperty("port","8080"));

	public static void main(String[] args) {		
		HttpServer server = Vertx.vertx().createHttpServer();
		server.requestHandler(request -> {
			  request.response().end("hello,vert.x");
			}).listen(port);
		System.out.println("start done,port="+port);
	}


}